<!DOCTYPE html>

<html>
	<head>
	<meta charset="UTF-8">
	<title>Servlet</title>
	</head>
	<body>
	
		<h1>Servlet</h1>
		
		<!-- form 元素 action属性用于指定表单提交给哪个服务 -->
		<!-- form 元素 method属性用于指定提交表单时采用的动作 -->
		<!-- form 元素 enctype属性用于指定表单的编码方式 -->
		<form action="/core/sign/in" method="get" enctype="application/x-www-form-urlencoded">
			<input type="text" name="username" placeholder="请输入用户名" >
			<input type="password" name="password" placeholder="请输入密码" >
			<button type="submit">提交</button>
		</form>
		
		<form action="/core/sign/in" method="post" enctype="application/x-www-form-urlencoded">
			<input type="text" name="username" placeholder="请输入用户名" >
			<input type="password" name="password" placeholder="请输入密码" >
			<button type="submit">提交</button>
		</form>
	
	</body>
</html>